<div class="row-fluid">
<div class="span12">
<h3 class="heading"><?php echo __('A&ntilde;adir Pago'); ?></h3>
    <?php echo $this->Form->create('Pago', array('id' => 'PagoNuevoForm')); ?>

		
        <div class="formSep">
           <div class="row-fluid">
              <div class="span4">
                <label>Nombre <span class="f_req">*</span></label>
                <?php echo $this->Form->text('nombre', array('class' => 'span12', 'required')); ?>
            </div>            
              <div class="span4">
                <label>Monto <span class="f_req">*</span></label>
                <?php echo $this->Form->text('monto', array('class' => 'span12', 'required', 'pattern'=>"^(\d|-)?(\d|,)*\.?\d*$")); ?>
            </div>  
                    
          </div>
       </div>
       <div class="formSep">
           <div class="row-fluid">
            <div class="span4">
                <label>Fecha de pago<span class="f_req">*</span></label>
                <?php echo $this->Form->text('fechapago', array('class' => 'span6', 'id' => 'fecha')); ?>
            </div>  
            <div class="span4">
                <?php echo $this->Form->input('planespago_id', array('class'=>'span6', 'required'));?>
            </div>            
          </div>
       </div>
     <div class="form-actions">
       <button class="btn btn-success" type="submit">Guardar</button>       
    </div>

   
   </form>
</div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        $("#fecha").inputmask("d/m",{ "placeholder": "dd/mm" });
    });
</script>
<!-- sidebar -->
<?php echo $this->element('sidebar/planes'); ?>
<!-- fin sidebar -->
<?php //llamamos scripts tablas ?>
<?php echo $this->element('jsformularios'); ?>